package cn.fbs.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel("上传图像参数")
//@Data
//@ToString
public class ImageParam extends UploadParam {



    @ApiModelProperty("文件来源")
    private String source;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("拍摄时间")
    private Date shotDate;
    @ApiModelProperty(value = "拍摄平台外键", example = "1")
    private Long platformId;
    @ApiModelProperty(value = "传感器类型外键", example = "1")
    private Long sensorId;
    @ApiModelProperty(value = "0素材 1产品", example = "1")
    private byte isProduct;

    @ApiModelProperty(value = "侦照对象名称")
    private String zzdx;

    private String uploadFileName;


    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Date getShotDate() {
        return shotDate;
    }

    public void setShotDate(Date shotDate) {
        this.shotDate = shotDate;
    }

    public Long getPlatformId() {
        return platformId;
    }

    public void setPlatformId(Long platformId) {
        this.platformId = platformId;
    }

    public Long getSensorId() {
        return sensorId;
    }

    public void setSensorId(Long sensorId) {
        this.sensorId = sensorId;
    }

    public byte getIsProduct() {
        return isProduct;
    }

    public void setIsProduct(byte isProduct) {
        this.isProduct = isProduct;
    }

    public String getZzdx() {
        return zzdx;
    }

    public void setZzdx(String zzdx) {
        this.zzdx = zzdx;
    }

    public String getUploadFileName() {
        return uploadFileName;
    }

    public void setUploadFileName(String uploadFileName) {
        this.uploadFileName = uploadFileName;
    }
}
